{"version":3,"sources":["script.js"],"names":["BxInterfaceGrid","table_id","this","oActions","oColsMeta","oColsNames","customNames","oEditData","oSaveData","oOptions","oVisibleCols","vars","menu","settingsMenu","filterMenu","checkBoxCount","bColsChanged","bViewsChanged","oFilterRows","activeRow","_this","InitTable","tbl","document","getElementById","rows","length","cells","i","nCols","j","cell","onmouseover","HighlightGutter","onmouseout","className","user_authorized","onbxdragstart","DragStart","onbxdragstop","DragStop","onbxdrag","Drag","onbxdraghout","jsDD","registerObject","onbxdestdraghover","DragHover","onbxdestdraghout","DragOut","onbxdestdragfinish","DragFinish","registerDest","n","row","checkbox","childNodes","tagName","toUpperCase","type","onclick","SelectRow","EnableActions","jsUtils","addEvent","OnClickRow","HighlightRow","oncontextmenu","OnRowContext","r","e","window","event","phpVars","opt_context_ctrl","ctrlKey","targetElement","target","srcElement","el","FindParentObject","col_menu","SEPARATOR","PopupHide","BX","hasClass","OnClose","replace","SaveColumns","menuItems","util","array_merge","SetItems","BuildItems","arScroll","GetWindowScrollPos","x","clientX","scrollLeft","y","clientY","scrollTop","pos","PopupShow","returnValue","preventDefault","ShowActionMenu","index","ShowMenu","on","table","parentNode","gutter","cellIndex","bSorted","indexOf","span","id","selCount","parseInt","innerHTML","checked","toString","checkAll","obj","disabled","SelectAllRows","bChecked","box","form","forms","bEnabled","IsActionEnabled","bEnabledEdit","apply","b","action","elAll","SwitchActionButtons","bShow","buttonsTd","td","FindNextSibling","style","display","ActionEdit","a","ids","Array","tr","denyEvent","row_id","value","col_id","editable","data","name","appendChild","create","props","defaultChecked","options","list_val","items","selected","text","children","whiteSpace","size","href","title","mess","calend_title","html","calendar_image","server_time","maxlength","maxLength","elements","ActionCancel","allowEvent","ActionDelete","submit","DeleteItem","field_id","message","confirm","ForAllClick","for_all_confirm","Sort","url","by","sort_state","def_order","args","order","bControl","ajax","get","component_path","sessid","Reload","InitVisCols","CheckColumn","column","menuItem","colMenu","GetMenuByItemId","GetItemInfo","ICON","SetItemIcon","HideColumn","ApplySaveColumns","columns","sCols","Disable","current_url","AJAX_ID","insertToNode","location","SetTheme","theme","loadCSS","template_path","themeMenu","SetAllItemsIcon","SetView","view_id","filter_id","views","saved_filter","func","filters","ApplyFilter","EditCurrentView","ShowSettings","current_view","SaveSettings","AddView","Math","round","random","view","viewsNewView","sort_by","sort_order","page_size","custom_names","views_list","Option","viewsNoName","EditView","selectedIndex","DeleteView","viewsDelete","remove","bCreated","CDialog","content","settingsTitle","width","settingWndSize","height","resize_id","ClearButtons","SetButtons","settingsSave","parentWindow","Close","prototype","btnCancel","Show","view_name","focus","aVisCols","split","oVisCols","jsSelectUtils","deleteAllOptions","view_all_cols","colName","view_cols","selectOption","view_sort_by","view_sort_order","view_page_size","view_filters","viewsFilter","set_default_settings","delete_users_settings","up_btn","down_btn","rename_btn","add_btn","del_btn","RenameColumn","renameTitle","renameWndSize","buttons","selectedCol","settingsForm","col_name","col_name_def","doReload","GRID_ID","handler","post","ReloadViews","ShowViews","applyBtn","CWindowButton","viewsApply","hint","viewsApplyTitle","viewsTitle","btnClose","viewsWndSize","addCustomEvent","div","body","createElement","position","zIndex","clientWidth","__dragCopyDiv","arrowDiv","__dragArrowDiv","left","top","removeChild","obDrag","GetRealPos","delta","cols","index_from","index_to","tmp","InitFilter","SwitchFilterRow","mnu","MENU","ID","ICONCLASS","SwitchFilter","SaveFilterRows","SwitchFilterRows","sRows","filterShow","filterHide","ClearFilter","toLowerCase","l","onchange","onCustomEvent","clear_filter","ShowFilters","filtersApply","filtersApplyTitle","filters_list","filtersTitle","filtersWndSize","AddFilter","fields","filter","filtersNew","ShowFilterSettings","SaveFilter","insertIntoArray","mnuItem","TEXT","htmlspecialchars","TITLE","ApplyTitle","ONCLICK","AddFilterAs","GetFilterFields","EditFilter","DeleteFilter","filtersDelete","deleteFromArray","filterSettingsTitle","filterSettingWndSize","filter_name","SetFilterFields","val","substr","bWasSelected","sel","OnDateChange","bShowFrom","bShowTo","bShowHellip","bShowDays","bShowBr","findNextSibling","tag","class"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